package com.armani.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ProjectName: armani
 * @Package: com.armani.entity
 * @ClassName: Shopcar
 * @Description: TODO
 * @Author: Xinyibuzai
 * @Date: 2021/11/28 17:32
 * @Version: 1.0
 **/
@Data
public class Shopcar {
    private Integer id;
    private Integer num;
    private Integer userId;
    private Integer skuId;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date insertTime;

}
